package com.penghaisoft.microwms.common.data.model;


import com.penghaisoft.microwms.common.BaseEntity;
import com.penghaisoft.microwms.common.util.CommonUtils;

/**
 * 库区管理
 * @author zhangx
 * 
 */
public class MdArea  extends BaseEntity {


	/**
	 * areaId
	 */
	private String areaId;
	
	/**
	 * 库区编码
	 */
	private String areaCode;
	
	/**
	 * 库区描述
	 */
	private String areaDesc;
	
	/**
	 * 区域编码
	 */
	private String regionCode;
	
	/**
	 * 仓库编码
	 */
	private String whCode;
	
	/**
	 * 入库过渡库位
	 */
	private String instockTranLoc;
	
	/**
	 * 出库过渡库位
	 */
	private String outstockTranLoc;
	
	/**
	 * 拣货过渡库位
	 */
	private String pickTranLoc;
	
	/**
	 * 默认异常储位
	 */
	private String exSignLocNo;
	
	/**
	 * 默认隔离储位
	 */
	private String frozenLocNo;
	
	/**
	 * 库区基点
	 */
	private String areaPoint;
	
	/**
	 * 不可用#是否使用托盘1是0否
	 */
	private String useTray;
	
	/**
	 * 不可用#是否托盘混载1是0否
	 */
	private String trayMix;
	
	/**
	 * 入库策略（收货上架一步／两步）
	 */
	private String instorageStrategy;
	
	/**
	 * 出库策略（拣货复核一步/两步）
	 */
	private String outstorageStrategy;
	
	/**
	 * 是否强制出库（1是，0否）
	 */
	private String forceOutstorage; 
	
	/**
	 * 不可用#是否判断库位允许拣货（1是，0否）
	 */
	private String locPickFlag;  
	
	/**
	 * 手持提单时的默认分配规则
	 */
	private String allocationRule;
	
	/**
	 * 默认集货位推荐类型
	 */
	private String gatherLocType; 
	
	/**
	 * 优先级 1 2 3 4
	 */
	private String priority;

	/**
	 * sap库存地点
	 */
	private String sapSendSspot;
	
	private String factoryCode;
	
	@Override
	public void preInsert() {
		super.preInsert();
		setAreaId(CommonUtils.getUUID());
	}

	
	
	public String getSapSendSspot() {
		return sapSendSspot;
	}



	public void setSapSendSspot(String sapSendSspot) {
		this.sapSendSspot = sapSendSspot;
	}



	public String getAreaId() {
		return this.areaId;
	}

	public void setAreaId(String value) {
		this.areaId = value;
	}
	public String getAreaCode() {
		return this.areaCode;
	}

	public void setAreaCode(String value) {
		this.areaCode = value;
	}
	public String getAreaDesc() {
		return this.areaDesc;
	}

	public void setAreaDesc(String value) {
		this.areaDesc = value;
	}
	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String value) {
		this.regionCode = value;
	}
	public String getWhCode() {
		return this.whCode;
	}

	public void setWhCode(String value) {
		this.whCode = value;
	}
	public String getInstockTranLoc() {
		return this.instockTranLoc;
	}

	public void setInstockTranLoc(String value) {
		this.instockTranLoc = value;
	}
	
	public String getOutstockTranLoc() {
		return outstockTranLoc;
	}

	public void setOutstockTranLoc(String outstockTranLoc) {
		this.outstockTranLoc = outstockTranLoc;
	}

	public String getPickTranLoc() {
		return this.pickTranLoc;
	}

	public void setPickTranLoc(String value) {
		this.pickTranLoc = value;
	}
	public String getExSignLocNo() {
		return this.exSignLocNo;
	}

	public void setExSignLocNo(String value) {
		this.exSignLocNo = value;
	}
	public String getFrozenLocNo() {
		return this.frozenLocNo;
	}

	public void setFrozenLocNo(String value) {
		this.frozenLocNo = value;
	}
	public String getAreaPoint() {
		return this.areaPoint;
	}

	public void setAreaPoint(String value) {
		this.areaPoint = value;
	}
	public String getUseTray() {
		return this.useTray;
	}

	public void setUseTray(String value) {
		this.useTray = value;
	}
	public String getTrayMix() {
		return this.trayMix;
	}

	public void setTrayMix(String value) {
		this.trayMix = value;
	}
	public String getInstorageStrategy() {
		return this.instorageStrategy;
	}

	public void setInstorageStrategy(String value) {
		this.instorageStrategy = value;
	}
	public String getOutstorageStrategy() {
		return this.outstorageStrategy;
	}

	public void setOutstorageStrategy(String value) {
		this.outstorageStrategy = value;
	}
	public String getForceOutstorage() {
		return this.forceOutstorage;
	}

	public void setForceOutstorage(String value) {
		this.forceOutstorage = value;
	}
	public String getLocPickFlag() {
		return this.locPickFlag;
	}

	public void setLocPickFlag(String value) {
		this.locPickFlag = value;
	}
	public String getAllocationRule() {
		return this.allocationRule;
	}

	public void setAllocationRule(String value) {
		this.allocationRule = value;
	}
	public String getGatherLocType() {
		return this.gatherLocType;
	}

	public void setGatherLocType(String value) {
		this.gatherLocType = value;
	}
	public String getPriority() {
		return this.priority;
	}

	public void setPriority(String value) {
		this.priority = value;
	}



	public String getFactoryCode() {
		return factoryCode;
	}



	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}

}

